package tk.capkiller.sharelinks.biz;

import java.awt.Point;
import java.awt.image.BufferedImage;
import java.io.File;

public class CompareImage {
	BufferedImage imageValue;

	private String myValue;
	private StringIntegerPair myNiceValue;
	private Point topLeftCut;
	private Point buttomRightCut;
	private Point position;
	public Point getPosition() {
		return position;
	}

	public void setPosition(Point position) {
		this.position = position;
	}

	public Point getTopLeftCut() {
		return topLeftCut;
	}

	public void setTopLeftCut(Point topLeftCut) {
		this.topLeftCut = topLeftCut;
	}

	public Point getButtomRightCut() {
		return buttomRightCut;
	}

	public void setButtomRightCut(Point buttomRightCut) {
		this.buttomRightCut = buttomRightCut;
	}


	public StringIntegerPair getMyNiceValue() {
		return myNiceValue;
	}

	public void setMyNiceValue(StringIntegerPair myNiceValue) {
		this.myNiceValue = myNiceValue;
	}

	File myFile;

	public CompareImage(BufferedImage img, File file, String value) {
		super();
		this.imageValue = img;
		this.myValue = value;
		this.myFile = file;
	}

	public CompareImage(BufferedImage img, StringIntegerPair niceValue) {
		super();
		this.imageValue = img;
		this.myNiceValue = niceValue;
	}

	public BufferedImage getImage() {
		return imageValue;
	}

	public String getValue() {
		return myValue;
	}

	public void setValue(String letter) {
		this.myValue = letter;
	}

	@Override
	public String toString() {
		return "Img: " + imageValue.getWidth() + "x" + imageValue.getHeight()
				+ "," + myValue;
	}

}
